Was going to do unit testing, but need to do more exploratory testing.


In [1]:
cd ..


/home/gavin/repositories/hail-seizure

In [6]:
%run train.py


predicted AUC score: 0.8194502290712204
---------------------------------------------------------------------------
NameError                                 Traceback (most recent call last)
/home/gavin/repositories/hail-seizure/train.py in <module>()
     68         # save it
     69         model_pipe.fit(X,y,clf__sample_weight=weights)
---> 70         serialise_trained_model(model_pipe, "model_{0}_{1}".format(subject,setting["VERSION"]))

NameError: name 'serialise_trained_model' is not defined
> /home/gavin/repositories/hail-seizure/train.py(70)<module>()
     68         # save it
     69         model_pipe.fit(X,y,clf__sample_weight=weights)
---> 70         serialise_trained_model(model_pipe, "model_{0}_{1}".format(subject,setting["VERSION"]))

ipdb> exit

In [3]:
%pdb


Automatic pdb calling has been turned ON